import api from "./index";

// banner
export const bannerList = data => api.get("/api/dkBanner/lists", data);

//获取接待老师
export const receiveTeacher = data =>
  api.get("/api/dkActivity/receiveTeacher", data);

//是否有百日行
export const hasHabitActivity = data =>
  api.get("/api/dkActivity/hasHabitActivity", data);

//活动列表
export const activityLists = data => api.get("/api/dkActivity/lists", data);

//今日任务
export const todayInfo = data => api.get("/api/dkActivity/todayInfo", data);

//显示客服入口胶囊banner
export const getIsShowCustomerButton = data => api.get("/api/common/getIsShowKefuButton", data);

/**
 * 获取客服信息
 * @param data 
 * @param data.position 客服位置 接待老师1、首页胶囊2、排行榜3、我的花瓣4
 */
export const getCsTeacher = data => api.get("/api/dkActivity/csTeacher", data)
